package cn.jhh.content.model.dto;

import cn.jhh.content.model.entity.Teachplan;
import cn.jhh.content.model.entity.TeachplanMedia;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "TeachplanDTO", description = "课程计划")
public class TeachplanDto extends Teachplan {
//    思考这个Dto要的是什么 应该是媒体类的东西吧
//    媒资Id 媒资名字 媒资创建、修改的负责人
        @ApiModelProperty(value = "课程计划关联的媒资信息")
        private TeachplanMedia teachplanMedia;
        @ApiModelProperty(value = "子目录")
        private List<TeachplanDto> teachPlanTreeNodes;
}
